
function validOrderData() {
	var title = $("#order_title").val();
	if ((/^s*$/).test(title)) {
		alert("\u9519\u8bef\uff1a\u8ba2\u5355\u6807\u9898\u4e0d\u80fd\u4e3a\u7a7a!");
		return false;
	}
	var minProductNum = $("#minProductNum").val();
	var minVendorNum = $("#minVendorNum").val();
	if (!(/^[1-9][0-9]{0,4}$/).test(minProductNum)) {
		alert("\u9519\u8bef\uff1a\u8ba2\u5355\u6700\u5c11\u8054\u8d2d\u6570\u91cf\u9700\u4e3a\u6574\u6570(1~9999)!");
		return false;
	}
	if (!(/^[1-9][0-9]{0,3}$/).test(minVendorNum)) {
		alert("\u9519\u8bef\uff1a\u8ba2\u5355\u6700\u5c11\u4f9b\u5e94\u5546\u6570\u91cf\u9700\u4e3a\u6574\u6570(1~999)!");
		return false;
	}
	if ($("#vendorRegion").val() == "") {
		var region = $("#region select[name='city']").val();
		if (region == "") {
			alert("\u9519\u8bef\uff1a\u5730\u57df\u9650\u5236\u4e3a\u7a7a!");
			return;
		}
		$("#vendorRegion").val(region);
	}
	return true;
}

